﻿using System;

namespace IFD2
{
    public partial class OrderLog : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                if (Request.QueryString["pnr"] == null)
                {
                    lblError.Text = "Bad page calling!";
                }
                else
                {
                    lblOrderNo.Text = Request.QueryString["pnr"].ToString();
                }
            }
            if (Session["ACL"].ToString().IndexOf("SA1") < 0)
            {
                Response.Redirect("unauthorized.aspx");
            }
        }

        protected void lbtnQuery_Click(object sender, EventArgs e)
        {
            GridView1.DataBind();
        }
    }
}